<!--{subtemplate common/header_common}-->
	<meta name="application-name" content="$_G['setting']['bbname']" />
	<meta name="msapplication-tooltip" content="$_G['setting']['bbname']" />
	<!--{if $_G['setting']['portalstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][1]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G[siteurl].'portal.php'};icon-uri={$_G[siteurl]}{IMGDIR}/portal.ico" /><!--{/if}-->
	<meta name="msapplication-task" content="name=$_G['setting']['navs'][2]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G[siteurl].'forum.php'};icon-uri={$_G[siteurl]}{IMGDIR}/bbs.ico" />
	<!--{if $_G['setting']['groupstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][3]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G[siteurl].'group.php'};icon-uri={$_G[siteurl]}{IMGDIR}/group.ico" /><!--{/if}-->
	<!--{if helper_access::check_module('feed')}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][4]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G[siteurl].'home.php'};icon-uri={$_G[siteurl]}{IMGDIR}/home.ico" /><!--{/if}-->
	<!--{if $_G['basescript'] == 'forum' && $_G['setting']['archiver']}-->
		<link rel="archives" title="$_G['setting']['bbname']" href="{$_G[siteurl]}archiver/" />
	<!--{/if}-->
	<!--{if !empty($rsshead)}-->$rsshead<!--{/if}-->
	<!--{if widthauto()}-->
		<link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" />
		<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
	<!--{/if}-->
	<!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
	<!--{elseif $_G['basescript'] == 'home' || $_G['basescript'] == 'userapp'}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
	<!--{elseif $_G['basescript'] == 'portal'}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
	<!--{/if}-->
	<!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
	<!--{/if}-->
	<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
	<link rel="stylesheet" type="text/css" id="diy_common" href="data/cache/style_{STYLEID}_css_diy.css?{VERHASH}" />
	<!--{/if}-->
    <script type="text/javascript" src="$_G['style'][styleimgdir]/jquery.js"></script>
	<script type="text/javascript">
        var jq=jQuery.noConflict();
    </script>
    <script src="$_G['style'][styleimgdir]/png.js" type="text/javascript"></script>
    <script src="$_G['style'][styleimgdir]/slides.js" type="text/javascript"></script>
    <!--[if lte IE 6]>
        <script src="$_G['style'][styleimgdir]/png.js" type="text/javascript"></script>
        <script type="text/javascript">
            DD_belatedPNG.fix('body,.logo,img,.deanshadow,#subnav ul li.cur,.deanservice ul li,.img-scroll .prev, .img-scroll .next,.deancontact ul li,.fticon,.ftinfo,.deanftli1,.deanftli2,.deanftli3,.deanftli4,.deansubnav ul li.deansina a,.deansubnav ul li.deantx a,.deansubnav ul li.deanrss a,.deansubnav ul li.deankefu a,#focus .preNext,#focus .preNext,.nvhm,#pt .z em,.deantitle a.deanaddnew,.deantitle a.deanrssartice,#scbar_btn,.deantitle a,#focus ul li .slideother');
        </script>
    <![endif]--> 
    <script language="javascript" type="text/javascript">
		function killErrors() {
			return true;
		}
		window.onerror = killErrors;
	</script>


	

</head>

<body id="nv_{$_G[basescript]}" class="pg_{CURMODULE}{if $_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)} {$cat['bodycss']}{/if}" onkeydown="if(event.keyCode==27) return false;">
	
	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
		<!--{template common/header_diy}-->
	<!--{/if}-->
	<!--{if check_diy_perm($topic)}-->
		<!--{template common/header_diynav}-->
	<!--{/if}-->
	<!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)}-->
		$diynav
	<!--{/if}-->
	<!--{if empty($topic) || $topic['useheader']}-->
		<!--{if $_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')}-->
			<div class="xi1 bm bm_c">
			    {lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="xg1">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a>
			</div>
		<!--{/if}-->
		<!--{if $_G['setting']['shortcut'] && $_G['member'][credits] >= $_G['setting']['shortcut']}-->
			<div id="shortcut">
				<span><a href="javascript:;" id="shortcutcloseid" title="{lang close}">{lang close}</a></span>
				{lang shortcut_notice}
				<a href="javascript:;" id="shortcuttip">{lang shortcut_add}</a>

			</div>
			<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
		<!--{/if}-->
        <div id="toptb" class="cl">
			<!--{hook/global_cpnav_top}-->
			<div class="wp">
				<!-- 顶部左侧快捷方式 -->
				
				<!-- 顶部左侧快捷方式结束 -->

				<!-- 自定义diy -->
				
				<!-- 自定义diy结束 -->

			</div>
		</div>

	<!-- 引入自己的页面和js-->
		<script type="text/javascript" src="$_G['style'][styleimgdir]/ii_js.js"></script>
		<!--{template common/header_ii_page}-->

	<!-- 引入自己的页面和js结束-->
        <div id="deannav" class="deannav">
        	<!--{eval $mnid = getcurrentnav();}-->
        	<div class="deannavc">
        		<!-- 快捷导航 -->
              <!--   <a href="javascript:;" id="qmenu" onMouseOver="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu($_G[fid]);})">{lang my_nav}</a> -->
        		<!-- 快捷导航结束 -->
				
                <!-- 网站logo -->
                <div class="iijoin_logo">
              	  <!--{if !isset($_G['setting']['navlogos'][$mnid])}--><a href="{if $_G['setting']['domain']['app']['default']}http://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" title="$_G['setting']['bbname']">{$_G['style']['boardlogo']}</a><!--{else}-->$_G['setting']['navlogos'][$mnid]<!--{/if}-->
                </div>

                <!-- 网站logo结束 -->
				<!-- 网站首页导航条 -->
                <ul>
                    <!--{loop $_G['setting']['navs'] $nav}-->
                        <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}-->
                    <!--{/loop}-->
                   
					<!--{hook/global_cpnav_extra1}-->
                    <div class="clear"></div>
                </ul>
				<!-- 网站首页导航条结束 -->
				<!-- 首页导航右侧用户信息 -->

					<!--{template common/header_userstatus_ii}-->

				<!-- 首页导航右侧用户信息结束 -->
                <!--{hook/global_nav_extra}-->
            </div>
        </div>
		<script type="text/javascript" src="$_G['style'][styleimgdir]/nv.js"></script>
		<!--{if !$_G['uid']}-->
			<!--{template member/login_simple_ii}-->
		<!--{/if}-->

		<!--{if !IS_ROBOT}-->

			<!--{if $_G['uid']}-->
	
					
				<!--提醒设置-->
					<!--{eval $_G[member][newprompt][count]=0;}-->

					<!--{if $_G[member][newprompt]}-->
						<!--{loop $_G['member']['category_num'] $key $val}-->
							<!--{$_G[member][newprompt][count] +=$val;}-->
						<!--{/loop}-->
					<!--{/if}-->
					
				<!--提醒设置结束-->

			<!--{/if}-->

			<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
				<div id="sslct_menu" class="cl p_pop" style="display: none;">
					<!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" onClick="extstyle('')" title="{lang default}"><i></i></span><!--{/if}-->
					<!--{loop $_G['style']['extstyle'] $extstyle}-->
						<span class="sslct_btn" onClick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'></i></span>
					<!--{/loop}-->
				</div>
			<!--{/if}-->
			<!--{subtemplate common/header_qmenu}-->
		<!--{/if}-->
		
		<!--{ad/headerbanner/wp a_h}-->
		<div id="hd">
			<div class="wp">
				

				
				<!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
					<ul class="p_pop h_pop" id="plugin_menu" style="display: none">
					<!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
						 <!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
						 <li>$module[url]</li>
						 <!--{/if}-->
					<!--{/loop}-->
					</ul>
				<!--{/if}-->
				$_G[setting][menunavs]

				<div id="mu" class="cl" >
				<!--{if $_G['setting']['subnavs']}-->
					<!--{loop $_G[setting][subnavs] $navid $subnav}-->
						<!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
						<ul class="cl {if $mnid == $navid}current{/if}" id="snav_$navid" style="display:{if $mnid != $navid}none{/if}">
						$subnav
						</ul>
						<!--{/if}-->
					<!--{/loop}-->
				<!--{/if}-->
				</div>

				<!--{ad/subnavbanner/a_mu}-->
				<!-- 用户搜索区 -->
					<!-- 用引入文件：common/pubsearchform_ii -->
				<!-- 用户搜索区结束 -->
				
			</div>
		</div>

		<!--{hook/global_header}-->
	<!--{/if}-->
	<div class="deanwp">
    	<div class="deanwrap">
			<div id="wp">
        		<div class="deanwpc">
    
					
